<?php if($is_cat_show):?>
<div style="padding: 10px;">
	<?php 
		$fs = array('fs3','fs1','fs2');
		$fc = array('c1','c2','c3');
	?>
	
	<?php foreach ($tree_cat as $k=>$v):?>
	<span 
		class="index-cat-item
		"
	>
		<a 
			class="
			<?php echo $fs[$v['step']];?>
			<?php echo $fc[$v['step']];?>
			"
		href="<?php echo site_url('c=topic&m=all&cid='.$v['id']);?>">
			<?php echo $v['title'];?></a>
		[<?php echo $v['count_topic'];?>]</span>
	<?php endforeach;?>
	<div style="clear: both;"></div>
</div>
<?php endif;?>	
